#!/bin/bash -

if [ "$1" = "tnt" ]; then
    odamex -iwad /usr/share/doom/tnt.wad
elif [ "$1" = "plutonia" ]; then
    odamex -iwad /usr/share/doom/plutonia.wad
else
    echo 'You must specify "tnt" or "plutonia".' >&2
    exit 1
fi
